* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

[v-cloak] {
    display: none !important;
}

/* flex相关 */

.flex-box {
    display: -webkit-flex;
    display: flex;
}

.flex-direction-c {
    flex-direction: column;
}

.flex-direction-r {
    flex-direction: row;
}

.flex-main {
    flex: 1;
}

html, body,#app {
    width: 100vw;
    height: 100vh;
}

.box {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.content {
    height: auto;
    width: 100%;
    flex: 1;
    overflow-y: auto;
    background-color: #f5f5f5;
}

#app>.box>.bottom {
    overflow: hidden;
    box-shadow: 0px 1px 5px rgb(200, 198, 198);
    display: -webkit-flex;
    display: flex;
    flex-direction: row;
}

#app>.box>.bottom button {
    border-radius: 0;
}

#app>.box>.bottom .left-content {
    flex: 1;
    padding: 0 15px;
}

#app>.box>.bottom .right-button {
    min-width: 80px;
}

#app>.box>.bottom .left-content {
    display: inline-block;
    line-height: 44px;
    margin-right: 30px;
    color: #9e9e9e;
    font-size: 13px;
}

#app>.box>.bottom .left-content .total {
    color: #cd1b21;
    font-weight: 700;
    font-size: 16px;
    margin-right: 10px;
}

.box > .indexBottom {
    width: 100%;
    height: 20px;
    position: relative;
    bottom: 0;
    text-align: center;
    font-size: 14px;
    padding: 4px auto;
    background-color: #f5f5f5;
}

/* nav-bar */
.van-nav-bar {
    width: 100%;
    height: 70px;
    background: linear-gradient(to right, #90c5f8, #1a8afa)
}

.van-nav-bar__title {
    color: #fff;
}

.van-nav-bar .van-icon {
    color: #fff;
}

/* table */
.table table {
    width: 100%;
    border-collapse: collapse;
    position: relative;
    overflow: auto;
}

.table table tr th {
    position: sticky;
    top: 0;
    color: #8f8f8f;
    font-size: 13px;
    height: 34px;
    white-space: nowrap;
    padding: 0 5px;
    border: 1px solid #fff;
    background: #e3e7f3;
    text-align: center;
}

.table table tr td {
    font-size: 13px;
    height: 34px;
    white-space: nowrap;
    padding: 0 5px;
    border: 1px solid #e5e5e5;
}

.table table tr:active td {
    color: #1989fa;
}